package com.yupi.yuaicodemother.ai.mcp;

import dev.langchain4j.mcp.client.McpClient;
import dev.langchain4j.mcp.McpToolProvider;

import java.util.List;

public class MCPToolProviderFactory {
    public static McpToolProvider createToolProvider(McpClient mcpClient) {
        return McpToolProvider.builder()
                .mcpClients(List.of(mcpClient))
                .build();
    }
}